import React from 'react';
import { Route, useRouteMatch } from 'react-router-dom/cjs/react-router-dom.min';
import Hello from './Hello';

export default function About(props) {
  console.log(props)
  const { path } = useRouteMatch();
  return (
    <div>
      About
      <Route path={`${path}/hello`}>
        <Hello />
      </Route>
    </div>
  )
}
